package cn.itcast.sys.service;

import cn.itcast.goods.vo.DishOverViewVO;
import cn.itcast.goods.vo.SetmealOverViewVO;
import cn.itcast.orders.vo.OrderOverViewVO;
import cn.itcast.sys.vo.BusinessDataVO;

import java.time.LocalDateTime;

public interface WorkspaceService {


    /**
     * 根据时间段统计营业数据
     * @param begin
     * @param end
     * @return
     */
    BusinessDataVO getBusinessData(LocalDateTime begin, LocalDateTime end);

    /**
     * 查询订单管理数据
     *
     * @return
     */
    OrderOverViewVO getOverviewOrders();

    /**
     * 查询套餐总览
     *
     * @return
     */
    SetmealOverViewVO getOverviewSetmeals();

    /**
     * 查询菜品总览
     *
     * @return
     */
    DishOverViewVO getOverviewDishes();
}
